Freeing Testers from Polluting Test Objectives
نویسندگان
چکیده
Testing is the primary approach for detecting software defects. A major challenge faced by testers lies in crafting efficient test suites, able to detect a maximum number of bugs with manageable effort. To do so, they rely on coverage criteria, which define some precise test objectives to be covered. However, many common criteria specify a significant number of objectives that occur to be infeasible or redundant in practice, like covering dead code or semantically equal mutants. Such objectives are well-known to be harmful to the design of test suites, impacting both the efficiency and precision of testers’ effort. This work introduces a sound and scalable formal technique able to prune out a significant part of the infeasible and redundant objectives produced by a large panel of white-box criteria. In a nutshell, we reduce this challenging problem to proving the validity of logical assertions in the code under test. This technique is implemented in a tool that relies on weakest-precondition calculus and SMT solving for proving the assertions. The tool is built on top of the Frama-C verification platform, which we carefully tune for our specific scalability needs. The experiments reveal that the tool can prune out up to 27% of test objectives in a program and scale to applications of 200K lines of code.
منابع مشابه
Synchronizable Test Sequences of Finite State Machines
The finite state machine (FSM) model is commonly used for specifying communication protocols and other types of distributed systems. With the use of multiple testers for an FSM, the synchronization between inputs from different testers becomes a problem. A synchronizable test sequence of an FSM is a test sequence for which the synchronization problem either does not exist or can be solved by co...
متن کاملVoluntary counselling and testing: uptake, impact on sexual behaviour, and HIV incidence in a rural Zimbabwean cohort.
OBJECTIVES To examine the determinants of uptake of voluntary counselling and testing (VCT) services, to assess changes in sexual risk behaviour following VCT, and to compare HIV incidence amongst testers and non-testers. METHODS Prospective population-based cohort study of adult men and women in the Manicaland province of eastern Zimbabwe. Demographic, socioeconomic, sexual behaviour and VCT...
متن کاملPerformance appraisal of software testers
Context: To determine the effectiveness of software testers a suitable performance appraisal approach is necessary, both for research and practice purposes. However, review of relevant literature reveals little information of how software testers are appraised in practice. Objective: (i) To enhance our knowledge of industry practice of performance appraisal of software testers; and (ii)to colle...
متن کاملRacial and socioeconomic disparities in residential proximity to polluting industrial facilities: evidence from the Americans' Changing Lives Study.
OBJECTIVES We sought to demonstrate the advantages of using individual-level survey data in quantitative environmental justice analyses and to provide new evidence regarding racial and socioeconomic disparities in the distribution of polluting industrial facilities. METHODS Addresses of respondents in the baseline sample of the Americans' Changing Lives Study and polluting industrial faciliti...
متن کاملA Test for the Pollution Haven Effect in the Selected EU-Asian Countries
The pursuit of sustainable development requires balancing the objectives of FDI, Trade, economic growth and environmental protection. Achieving a balance between these often-conflicting priorities is difficult enough at the national level, where competing interests are at least grounded in a common environmental, social and economic context. At the international level, where different countries...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1708.08765 شماره
صفحات -
تاریخ انتشار 2017